(function( $ ) {
	$.remoteCall = function( Cname, Cfunction, param, callBackFunction ) {
		sendData = {'className':Cname,'functionName':Cfunction,'param':param};
		sendjson = $.toJSON( sendData );
		$.ajax({
			type:		"POST",
			data:		"data="+sendjson,
			url:		"http://project.tk/server.php",
			dataType:	"json",
			success:	function(data)
			{
				if( data["status"] === false ) {
					alert(data["error"]);
				}
				else{
					callBackFunction.call({result:data["result"]});
				}
			}
		});
	};
})(jQuery);